package com.sap.sentinel;

import com.sap.domain.User;
import com.sap.feign.UserFeign;
import org.springframework.stereotype.Component;

@Component
public class UserFeignFallback implements UserFeign {
    @Override
    public User getUserById(Long id) {
        return new User("errorw","errow");
    }
}
